package com.cucn.ingmall.search.service;

import com.cucn.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * 商品保存到Es
 *
 * @author KouChaoJie
 * @since: 2021/12/13 10:28
 */
public interface ProductSaveService {
    /**
     * 上架商品保存到Es中
     *
     * @param skuEsModels 要上架的商品数据
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
